package lab02.test07;

public class Student extends Person {
    //属性
    long studentNum;
    String school;

    //无参构造
    public Student() {
    }

    public Student(long studentNum, String school) {
        this.studentNum = studentNum;
        this.school = school;
    }

    @Override
    public String toString() {
        return studentNum + "\t" + school;
    }
}
